{% extends 'inc/layout.twig' %}

  {% block plus_css %}
      <link rel="stylesheet" href="{{ asset('css/login.css') }}" type="text/css">
  {% endblock %}

{% block content %}
    <!-- start login page body -->
    <div class="login_box">
        <h3 class="login_title">{{ lang('login_title') }}</h3>

        <form id="fm_login" class="form form-horizontal" method="post" action="/login">
            <div class="form-group">
                <label class="control-label col-md-1" for="user"><i class="fa fa-user"></i> </label>
                <div class="input-item">
                    <input placeholder="用户名" id="user" name="username" type="text" value="" class="form-control">
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-md-1" for="pwd"><i class="fa fa-lock"></i> </label>
                <div class="input-item">
                    <input placeholder="密码" id="pwd" name="password" type="password" class="form-control">
                </div>
            </div>

            {#<div class="form-group">#}
                {#<div class="col-md-3 pull-right" style="margin-right:50px;">#}
                    {#<a href="{{ site_url('admin/register') }}">注册用户</a>#}
                {#</div>#}
            {#</div>#}

            <div class="row"></div>

            <div class="row btn_group">
                <input type="button" value="登录" id="btn_login" class="btn btn-success">
                {#<input type="reset" value="重置" id="btn_reset" class="btn btn-info col-md-3">#}
            </div>

        </form>
    </div>


{% endblock %}

{% block plus_js %}
    <script>
        require(['login']);
    </script>
{% endblock %}